//
//  BoxCostHeadView.m
//  XLDoctor
//
//  Created by longma on 2018/10/8.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import "MemerInfoTopView.h"

@implementation MemerInfoTopView


- (void)awakeFromNib{
    [super  awakeFromNib];
 
    self.titleLabel.adjustsFontSizeToFitWidth = true;
}

- (void)setNumber:(NSInteger)number {
    _number = number;
    if(LanguageHelper.shared.mLanguageStyle == MJLanguageStyleEN || LanguageHelper.shared.mLanguageStyle == MJLanguageStyleRU || LanguageHelper.shared.mLanguageStyle == MJLanguageStyleID){
        self.recordNumber.text = [NSString stringWithFormat:@"%ld %@",number,MJUILocalizedString(@"records total")];
    }else{
        self.recordNumber.text = [NSString stringWithFormat:@"%@ %ld %@",MJUILocalizedString(@"gong"),number,MJUILocalizedString(@"records total")];
    }
    
}



@end
